package com.itheima.dubbo.impl;

import com.itheima.dubbo.UserService;
import org.apache.dubbo.config.annotation.DubboService;

@DubboService(version = "1.0.1")
public class UserServiceImpl implements UserService {
    @Override
    public String getName(String name) {
        System.out.println("调用了一次~");
        try {
            Thread.sleep(800);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        return "dubbo"+name;
    }
}
